﻿<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="web01._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        欢迎使用 ASP.NET!
    </h2>
    <p>
        若要了解关于 ASP.NET 的详细信息，请访问 <a href="http://www.asp.net/cn" title="ASP.NET 网站">www.asp.net/cn</a>。
    </p>
    <p>
        您还可以找到 <a href="http://go.microsoft.com/fwlink/?LinkID=152368"
            title="MSDN ASP.NET 文档">MSDN 上有关 ASP.NET 的文档</a>。
    </p>
    <asp:Menu ID="Menu1" runat="server" BackColor="#B5C7DE" 
        DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" 
        ForeColor="#284E98" StaticSubMenuIndent="10px" 
        onmenuitemclick="Menu1_MenuItemClick">
        <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
        <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
        <DynamicMenuStyle BackColor="#B5C7DE" />
        <DynamicSelectedStyle BackColor="#507CD1" />
        <DynamicItemTemplate>
            <%# Eval("Text") %>
        </DynamicItemTemplate>
        <Items>
            <asp:MenuItem Text="你敢点吗" Value="试试">
                <asp:MenuItem Text="你敢了" Value="试试1"></asp:MenuItem>
                <asp:MenuItem Text="这里是福利" Value="试试2">
                    <asp:MenuItem Text="你想要神马- -" Value="你想要神马- -"></asp:MenuItem>
                </asp:MenuItem>
            </asp:MenuItem>
        </Items>
        <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
        <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
        <StaticSelectedStyle BackColor="#507CD1" />
    </asp:Menu>
   <asp:TextBox ID="tbResult" runat="server"></asp:TextBox> </p>
   <asp:Button ID="tbmc" runat="server" Text="MC" Width="61px" 
        onclick="tbmc_Click" />
   <asp:Button ID="tbmr" runat="server" Text="MR" Width="61px" 
        onclick="tbmr_Click" />
   <asp:Button ID="tbms" runat="server" Text="MS" Width="61px" 
        onclick="tbms_Click" />
   <asp:Button ID="tbmadd" runat="server" Text="M+" Width="61px" 
        onclick="tbmadd_Click" />
   <asp:Button ID="tbmsub" runat="server" Text="M-" Width="61px" 
        onclick="tbmadd_Click" /></p>
   <asp:Button ID="btnclear" runat="server" Text="←" Width="61px" 
        onclick="btnclear_Click" />
   <asp:Button ID="btnallclear" runat="server" Text="CE" Width="61px" 
        onclick="btnallclear_Click" />
   <asp:Button ID="btnremove" runat="server" Text="C" Width="61px" 
        onclick="btnremove_Click" />
   <asp:Button ID="btnminus" runat="server" Text="±" Width="61px" 
        onclick="btnminus_Click" />
   <asp:Button ID="btnsqrt" runat="server" Text="√" onclick="btnsqrt_Click" 
        Width="61px" /></p>
   <asp:Button ID="btnNum7" runat="server" Text="7" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnNum8" runat="server" Text="8" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnNum9" runat="server" Text="9" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnmultiplication" runat="server" Text="*" Width="61px" 
        onclick="btnEvenOperation" />
   <asp:Button ID="btnpercent" runat="server" Text="%" Width="61px" 
        onclick="btnpercent_Click" /></p>
   <asp:Button ID="btnNum4" runat="server" Text="4" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnNum5" runat="server" Text="5" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnNum6" runat="server" Text="6" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btndivision" runat="server" Text="/" Width="61px" 
        onclick="btnEvenOperation" />
   <asp:Button ID="btncountdown" runat="server" Text="1/x" Width="61px" 
        onclick="btncountdown_Click" /></p>
   <asp:Button ID="btnNum1" runat="server" Text="1" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnNum2" runat="server" Text="2" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnNum3" runat="server" Text="3" Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnSubtract" runat="server" Text="-" Width="61px" 
        onclick="btnEvenOperation" /></p>
   <asp:Button ID="btnNum0" runat="server" Text="0" Width="119px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnpoint" runat="server" Text="." Width="61px" 
        onclick="btnNum0_Click" />
   <asp:Button ID="btnadd" runat="server" Text="+" Width="61px" 
        onclick="btnEvenOperation" />
   <asp:Button ID="btnCompute" runat="server" Text="=" Width="61px" 
        onclick="btnCompute_Click" />
    
</asp:Content>
